const routers = [
  {
    path: '/RegisterCompliance',
    redirect: '/RegisterComplianceIndex',
    name: 'RegisterCompliance',
    meta: {
      title: '资产合规',
      breadcrumbName: '资产合规'
    },
    children: [
      {
        path: '/RegisterComplianceIndex',
        name: 'RegisterComplianceIndex',

        component: () => import('@/views/compliance_registration/register_compliance/listPage.vue'),
        meta: {
          title: '资产合规',
          breadcrumbName: 'RegisterCompliance',
          defaultMeau: '/ComplianceRegister'
        }
      },
      {
        path: '/RegisterCompliance/update',
        name: 'RegisterComplianceUpdate',
        component: () =>
          import('@/views/compliance_registration/register_compliance/updatePage.vue'),
        meta: {
          title: '上传报告',
          backName: 'RegisterCompliance',
          defaultMeau: '/ComplianceRegister',
          isCanback: true //控制是否可以显示返回
        }
      },
      {
        path: '/RegisterCompliance/detail',
        name: 'RegisterComplianceDetail',
        component: () =>
          import('@/views/compliance_registration/register_compliance/detailPage.vue'),
        meta: {
          title: '查看报告',
          backName: 'RegisterCompliance',
          defaultMeau: '/ComplianceRegister',
          isCanback: true //控制是否可以显示返回
        }
      }
    ]
  },
  {
    path: '/RegisterAsset',
    redirect: '/RegisterAssetIndex',
    name: 'RegisterAsset',
    meta: {
      title: '资产登记',
      breadcrumbName: '资产登记'
    },
    children: [
      {
        path: '/RegisterAssetIndex',
        name: 'RegisterAssetIndex',

        component: () => import('@/views/compliance_registration/register_asset/listPage.vue'),
        meta: {
          title: '资产登记',
          breadcrumbName: '资产登记',
          defaultMeau: '/ComplianceRegister'
        }
      }
    ]
  }
];
export default routers;
